package com.weibopay.gf.support;

import com.weibopay.gf.service.ApiService;

/**
 * 服务支持
 */
public enum ServiceType implements ApiUrl {

    ApplyCrossBorderEntry(new ApiService(applyCrossBorderEntryApiUrl)),
    QueryBalance(new ApiService(queryBalanceApiUrl));

    private final ApiService apiService;

    ServiceType(ApiService apiService) {
        this.apiService = apiService;
    }

    public ApiService getApiService() {
        return apiService;
    }
}
